/*
* @Author: CaiPengFei
* @Date:   2018-01-13 01:27:20
* @Last Modified by:   CaiPengFei
* @Last Modified time: 2018-01-14 17:37:06
*/

'use strict';
require('./index.css');
require('page/common/nav-simple/index.js');
var _mm = require('util/mm.js');

$(function(){
    var type      =_mm.getUrlParam('type') || 'default',
        $element  =$('.' + type + '-success');
        if(type === 'payment'){
        var orderNumber  = _mm.getUrlParam('orderNumber'),
            $orderNumber = $element.find('.order-number');
        $orderNumber.attr('href', $orderNumber.attr('href') + orderNumber);
    }
        //显示对应的提示元素
        $element.show();
})